Android Async Programming and Services
In this course you will learn how to use Android services and asynchronous processing to create applications that provide a more responsive user experience. Topics covered include Android Services, background processing, threading, asynchronous tasks, Started Services, Foreground Services, Notifications, Android Service lifecycle, and ExecutorService.
Challenges to a responsive user experience | 00:48:35 |
| Introduction | 02:22 |
| Performance and responsiveness | 04:01 |
| Demo: Long-running operations | 08:04 |
| Strategies for a responsive user experience | 01:59 |
| Detecting blocking tasks | 02:57 |
| Demo: Detecting blocking tasks | 02:26 |
| Threads | 03:33 |
| Demo: Threads | 06:18 |
| Asynchronous tasks | 04:25 |
| Demo: Asynchronous tasks | 08:35 |
| Controlling asynchronous task execution | 02:12 |
| Summary | 01:43 |
Implementing long-running operations as a service | 00:41:03 |
| Introduction | 01:03 |
| Concerns with long-running operations | 03:28 |
| Android Services | 02:42 |
| Creating an on-demand service | 03:09 |
| Demo: Creating an on-demand service | 06:21 |
| Accessing an on-demand service | 01:54 |
| Demo: Using an on-demand service | 07:56 |
| Cross process services | 03:41 |
| Demo: Cross process services | 08:35 |
| Summary | 02:14 |
Service lifecycle management | 00:46:26 |
| Introduction | 01:21 |
| Service lifecycle | 04:34 |
| Implementing the service lifecycle | 01:38 |
| Demo: Implementing the service lifecycle | 10:00 |
| Service threading considerations | 01:45 |
| Demo: Service threading considerations | 05:08 |
| Taking control of service lifetime | 03:03 |
| Demo: Taking control of service lifetime | 12:40 |
| Operating system control of service lifetime | 05:27 |
| Summary | 00:50 |
Interacting with services | 00:47:04 |
| Introduction | 01:46 |
| Providing user feedback | 02:44 |
| Demo: Providing user feedback | 10:40 |
| Foreground services | 06:16 |
| Demo: Foreground services | 12:08 |
| Services and system activity | 02:36 |
| Demo: Services and system activity | 09:25 |
| Summary | 01:29 |
Challenges to a responsive user experience
Implementing long-running operations as a service
Service lifecycle management
Interacting with services